﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dotUML.Core.Common.SequenceDiagram
{
    /// <summary>
    /// IConstraint is an interface for a UML sequence diagram constraint element.
    /// </summary>
    public interface IConstraint : IDiagramElement
    {
        /// <summary>
        /// Type of constraint.
        /// </summary>
        EConstraintType ConstraintType
        {
            get;
            set;
        }

        /// <summary>
        /// Constraint value.
        /// </summary>
        string Value
        {
            get;
            set;
        }

        /// <summary>
        /// Constrained message.
        /// </summary>
        IMessage ConstrainedMessage
        {
            get;
            set;
        }
    }
}
